import { ImagePreview } from 'vant'

export const preview = (images, index) => {
  ImagePreview({
    images,
    startPosition: index
  })
}
